﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.Xml.Linq;
using Volo.Abp.Application.Dtos;

namespace WeChat.CMS.OrganizationUnits
{
    public  class OrganizationUnitUpdateDto:EntityDto
    {
        [Display(Name = "Id")]
        [Required(ErrorMessage = "{0}不能为空")]
        public Guid Id { get; set; }
        [Display(Name = "节点名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(128, ErrorMessage = "{0}最多{1}个字符")]
        public string DisplayName { get; set; }

        //所属父组织
        public Guid? ParentId { get; set; }
    }
}
